package booksys.books;

import com.alibaba.fastjson.annotation.JSONField;

import java.util.Date;

public class Books {

        private String b_name;//图书名称
        private String b_id;//图书号
        private String b_writer;//作者
        private Integer b_price;//图书价格
        private String b_publish;//出版社
        private Date b_putime;//出版时间

        public String getB_name() {
            return b_name;
        }

        public void setB_name(String b_name) {
            this.b_name = b_name;
        }

        public String getB_id() {
            return b_id;
        }

        public void setB_id(String b_id) {
            this.b_id = b_id;
        }

        public String getB_writer() {
            return b_writer;
        }

        public void setB_writer(String b_writer) {
            this.b_writer = b_writer;
        }

        public Integer getB_price() {
            return b_price;
        }

        public void setB_price(Integer b_price) {
            this.b_price = b_price;
        }

        public String getB_publish() {
            return b_publish;
        }

        public void setB_publish(String b_publish) {
            this.b_publish = b_publish;
        }

        @JSONField(format = "yyyy-MM-dd")
        public Date getB_putime() {
            return b_putime;
        }

        public void setB_putime(Date b_putime) {
            this.b_putime = b_putime;
        }


}
